HDDS-1368. Cleanup old ReplicationManager code from SCM.#711
HDDS-1368. Cleanup old ReplicationManager code from SCM.#711nandakumar131 wants to merge 24 commits intoapache:trunkfrom
Conversation
This comment has been minimized.
This comment has been minimized.
|
/retest |
1 similar comment
|
/retest |
mukul1987
left a comment
There was a problem hiding this comment.
The changes generally looks good to me. Some minor comments.
There was a problem hiding this comment.
DeleteBlock handler is the only user of CommandWatcher now ?
There was a problem hiding this comment.
Yes, no other command uses CommandWatcher anymore.
There was a problem hiding this comment.
Should closeContainer happen before destroy pipeline, so that we close container cleanly ?
There was a problem hiding this comment.
TLDR; destoryPipelines internally calls close container already.
There are three stages where we close the containers when a datanode goes dead
- When the node is marked as stale, we destroy the pipeline which will try to close the containers cleanly.
(Finalizing and destroying the pipeline after the timeout)
-> When the node is marked as dead
2. destroyPipelines(datanodeDetails) --> call
Here we destroy the pipeline which will also try to close the containers, here we don't try to close the container cleanly. This is a fallback mechanism, if everything was working fine we should not have any pipelines at this point.
(Finalizing and destroying the pipeline without timeout)
- closeContainers(datanodeDetails, publisher) --> call
This is the last resort for closing a container, it is to handle a weird case where there is open container and it is not part of any pipeline. [This can (or) should not happen]
3688911 to
2d4f6b6
Compare
|
💔 -1 overall
This message was automatically generated. |
|
/retest |
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
…dfs-default.xml Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
… Contributed by Yishuang Lu. (apache#747)
…acOS. Contributed by Siyao Meng. Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
…ements Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
… due to typos. Contributed by Wanqiang Ji.
Contributed by Prabhu Joseph
Contributed by Siyao Meng
…e Chen. (apache#661) Signed-off-by: Xiaoyu Yao <xyao@apache.org>
…ontributed by Abhishek Modi.
…Contributed by Eric Yang
…r module. Contributed by Tao Yang.
…correct units when the default value is used. Contributed by starphin.
…AM heartbeat. Contributed by Abhishek Modi.
…unk. Contributed by Ayush Saxena.
… handle StandbyException when fetching HAServiceState. Contributed by Erik Krogen.
…ationTokenSecretManager. Contributed by CR Hota.
Contributed by Yesha Vora
Contributed by Dinesh Chitlangia.
…ontributed by Prabhu Joseph.
|
💔 -1 overall
This message was automatically generated. |
Author: Jagadish <jvenkatraman@linkedin.com> Reviewers: Jagadish<jagadish@apache.org> Closes apache#711 from vjagadish1989/website-reorg8
PR #620 brings in new ReplicationManager and PR #662 plugs in the new code, this is for removing the old ReplicationManager and related code.